<script setup>
import { RouterView } from 'vue-router'
import Footer from './components/Footer.vue'
</script>
<template>
  <div class="header">思泰隆-健身</div>
  <div class="container">
    <RouterView />
  </div>

  <div class="footer">
    <Footer />
  </div>
</template>

<style scoped>
.header {
  position: fixed;
  left: 0px;
  right: 0px;
  height: 50px;
  box-shadow: 0px 5px 5px #00000050;
  text-align: center;
  line-height: 50px;
  background-color: #FFF;
  color: #1B1C1E;
  font-weight: bold;
  font-size: 18px;
  z-index: 999;
  top: 0;
}

.container {
  padding-top: 60px;
  padding-bottom: 90px;
  position: fixed;
  left: 0px;
  right: 0px;
  top: 50px;
  bottom: 60px;
  overflow-y: auto;
}

.footer {
  background-color: #FFF;
  height: 70px;
  text-align: center;
  box-shadow: 0px -5px 5px #00000040;
  position: fixed;
  left: 0px;
  right: 0px;
  bottom: -1px;
  font-size: 14px;
}
</style>
